package xuesheng;

public class Testing {

    public static void main(String args[]) throws Exception{
        //实例化实验室
        Lab[] labs = new Lab[5];
        Lab lab1 = new Lab("计算机网络实验室",801);
        labs[0] = lab1;
        Lab lab2 = new Lab("化工原理实验室",807);
        labs[1] = lab2;
        Lab lab3 = new Lab("机器人创新实验室",707);
        labs[2] = lab3;

        //实例化学生
        Student stu1 = new Student("张三",2020310620);
        Student stu2 = new Student("李四",2023310621);

        //给学生分配实验室
        stu1.add_lab(lab1);
        stu2.add_lab(lab2);
        stu2.add_lab(lab3);

        //自己评分
        lab1.setScore();
//        lab2.setScore();
//        lab3.setScore();


        //算钱,算税后
        stu1.cal_money();
        stu1.cal_tax();
//        stu2.cal_money();
//        stu2.cal_tax();







    }
}